import { ItemType } from "@/type/item";
import type { IItem } from "@/type/item";

/**
 * 桌子
 */
export const tableDatabase: Record<string, IItem> = {
  oak_table: {
    id: "oak_table", // 家具ID
    name: "橡木桌",
    description: "可以作为装饰品摆放",
    type: ItemType.FURNITURE,
    stackable: true,
    maxStack: 99,
    sellPrice: 50,
    buyPrice: 200,
    placeable: true,
    imageUrl: "/src/assets/images/tiles/furniture.png",
    sourceRect: {
      x: 0,
      y: 569,
      width: 32,
      height: 39,
      drawWidth: 32,
      drawHeight: 39,
      offsetX: 0,
      offsetY: 0,
      dragOffsetY: 30,
      dragOffsetX: 0,
    },
  },
};
